A complemetary to the Get display Information script. The test is the same than in the Get display Information script. We then use the first mode returned by this test to change the resolution of the first display.